<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<x:parse xml="${param.xmlstr}" var="xmlData" />
<div class="t_bar">项目详细内容</div>
   <table class="t_css" width="100%" border="0" cellpadding="0"
	    cellspacing="1" style="table-layout: fixed; word-break: break-all; word-wrap: break-word">
      <tr class="li_1">
          <td align="left"><strong>1.立项背景</strong></td>
      </tr>
      <tr class="li_2">
          <td><pre><x:out select="$xmlData/data/proposal/goal/summary1"/></pre></td>
      </tr>
    </table>

    <table class="table01 t_css" width="100%" border="0" cellpadding="0"  cellspacing="1">
		<tr class="li_1">
          <td align="left"><strong>2.详细科学技术内容</strong></td>
      </tr>
    	<c:set var="grantCode"><x:out select="$xmlData/data/proposal/grant_code" /></c:set>
    	 <c:set var="subGrantCode"><x:out select="$xmlData/data/proposal/sub_grant_code" /></c:set>
	 			<input type="hidden" name="content/content[09]@seq_no" value="3"/>
		<c:set var="file_code"><x:out select="$xmlData/data/content/content[@seq_no=3]/file_code" /></c:set>
		<tr id="uploadsuccess" <c:if test="${file_code==''}" >style="display:none" </c:if> >
			<td>
				<input type="hidden" id="fileNameHid" value="<x:out select="$xmlData/data/content/content[@seq_no=3]/file_name" />"/>
				已经上传的详细科学技术内容：<a id="content_downLoadFile" href="${ctx}/file/ajax-filedownload?fileCode=<x:out select="$xmlData/data/content/content[@seq_no=3]/file_code" />" class="link_x" ><span name="content/content[@seq_no=3]/file_name"><x:out select="$xmlData/data/content/content[@seq_no=3]/file_name" /></span></a>&nbsp;&nbsp;(上传时间<span name="content/content[@seq_no=3]/file_date"><x:out select="$xmlData/data/content/content[@seq_no=3]/file_date" /></span>) 
			</td>
		</tr>
		<tr id="uploadsuccess" <c:if test="${file_code!=''}" >style="display:none" </c:if> >
			<td>
				未上传详细科学技术内容
			</td>
		</tr>
	</table>
    
    
    <table class="t_css" width="100%" border="0" cellpadding="0"
	    cellspacing="1" style="table-layout: fixed; word-break: break-all; word-wrap: break-word">
      <tr class="li_1">
          <td align="left"><strong>3.发现、发明及创新点</strong></td>
      </tr>
      <tr class="li_2">
          <td><pre><x:out select="$xmlData/data/proposal/goal/summary2"/></pre></td>
      </tr>
      <%-- <tr class="li_1">
          <td align="left"><strong>4.与国内外同类研究、技术的比较</strong></td>
      </tr>
      <tr class="li_2">
          <td><pre><x:out select="$xmlData/data/proposal/goal/summary3"/></pre></td>
      </tr> --%>
    </table>
    
    <table class="table01 t_css" width="100%" border="0" cellpadding="0"  cellspacing="1">
		<tr class="li_1">
          <td align="left"><strong>4.与国内外同类研究、技术的比较</strong></td>
      </tr>
    	<c:set var="grantCode"><x:out select="$xmlData/data/proposal/grant_code" /></c:set>
    	 <c:set var="subGrantCode"><x:out select="$xmlData/data/proposal/sub_grant_code" /></c:set>
				<input type="hidden" name="content/content[07]@seq_no" value="2"/>
	
		<c:set var="file_code"><x:out select="$xmlData/data/content/content[@seq_no=2]/file_code" /></c:set>
		<tr id="uploadsuccess" <c:if test="${file_code==''}" >style="display:none" </c:if> >
			<td>
				<input type="hidden" id="fileNameHid" value="<x:out select="$xmlData/data/content/content[@seq_no=2]/file_name" />"/>
				已经上传的与国内外同类研究、技术的比较：<a id="content_downLoadFile" href="${ctx}/file/ajax-filedownload?fileCode=<x:out select="$xmlData/data/content/content[@seq_no=2]/file_code" />" class="link_x" ><span ><x:out select="$xmlData/data/content/content[@seq_no=2]/file_name" /></span></a>&nbsp;&nbsp;(上传时间<span ><x:out select="$xmlData/data/content/content[@seq_no=2]/file_date" /></span>) 
			</td>
		</tr>
		<tr id="uploadsuccess" <c:if test="${file_code!=''}" >style="display:none" </c:if> >
			<td>
				未上传与国内外同类研究、技术的比较
			</td>
		</tr>
	</table>
	
	<c:set var="yytg_show_hide"><x:out select="$xmlData/data/proposal/tech_type_value" /></c:set>
	
	<c:if test="${yytg_show_hide != '05' }">
		<table class="t_css" width="100%" border="0" cellpadding="0"
	    cellspacing="1" style="table-layout: fixed; word-break: break-all; word-wrap: break-word">
      <tr class="li_1">
          <td align="left"><strong>5.推广应用情况</strong></td>
      </tr>
      <tr class="li_2">
          <td><pre><x:out select="$xmlData/data/proposal/goal/summary4"/></pre></td>
      </tr>
       <tr class="li_1">
          <td align="left"><strong>推广应用单位情况表</strong></td>
      </tr>
      </table>
      <table  cellpadding="0" class="t_css" width="100%" border="0" cellpadding="0" style="*border-bottom: #a1c0dc 1px solid;">
		<col width="10%" />
		<col width="30%" />
		<col width="15%" />
		<col width="15%" />
		<col width="15%" />
		<col width="15%" />
		<thead >
				<tr style="border:1px solid #B7D1E6">
					<th class="TblHead" align="center" >序号</th>
					<th class="TblHead" align="center" >应用单位名称</th> 
					<th class="TblHead" align="center" >推广应用开始时间</th> 
			     	<th class="TblHead" align="center" >推广应用截止时间</th> 
					<th class="TblHead" align="center" >应用单位联系人</th> 
					<th class="TblHead" align="center" >联系电话</th> 
				</tr>
		
		</thead>
			<tbody id="tab">
				<c:set value="0" var="index" scope="page"/>
					<x:forEach select="$xmlData/data/tg_app_org_info/list" var="list">
					<c:choose>
						<c:when test="${index<10}" ><c:set value="0" var="flag" scope="page"/></c:when>
						<c:otherwise><c:set value="" var="flag" scope="page"/></c:otherwise>
					</c:choose>
					<tr>
						<td align="center">&nbsp;
							<span name="tg_app_org_info/list[${flag}${index}]@seq_no" ><x:out select="$list/@seq_no"/></span> 
						</td>
						<td align="left" >
							<x:out select="$list/org_name"/>
						</td>
						<td align="center" >
							<x:out select="$list/tg_start_date"/>
						</td>
						<td align="center" >
							<x:out select="$list/tg_end_date"/>
						</td>
						<td align="center" >
							<x:out select="$list/yy_lxr" />
						</td>
						<td align="center" >
							<x:out select="$list/yy_lx_tel"/>
						</td>		
					</tr>
					<c:set value="${index+1}" var="index" scope="page"/>
					</x:forEach>
			</tbody>
		</table>
		
	</c:if>
	<c:if test="${yytg_show_hide == '05' }">
		<table class="t_css" width="100%" border="0" cellpadding="0"
	    cellspacing="1" style="table-layout: fixed; word-break: break-all; word-wrap: break-word">
      <tr class="li_1">
          <td align="left"><strong>5.推广应用与他引情况</strong></td>
      </tr>
      <tr class="li_2">
          <td><pre><x:out select="$xmlData/data/proposal/goal/ty_info"/></pre></td>
      </tr>
       <tr class="li_1">
          <td align="left"><strong>代表性论文专著他引情况表</strong></td>
      </tr>
      </table>
      
      <table  cellpadding="0" class="t_css" width="100%" border="0" cellpadding="0" style="*border-bottom: #a1c0dc 1px solid;">
		<col width="10%" />
		<col width="20%" />
		<col width="15%" />
		<col width="15%" />
		<col width="10%" />
		<col width="15%" />
		<col width="15%" />
		<thead >
				<tr style="border:1px solid #B7D1E6">
					<th class="TblHead" align="center" >序号</th>
					<th class="TblHead" align="center" >被引代表性论文专著名称</th> 
					<th class="TblHead" align="center" >引文刊名</th> 
					<th class="TblHead" align="center" >引文题目</th> 
					<th class="TblHead" align="center" >引文作者</th> 
					<th class="TblHead" align="center" >引文影响因子</th> 
					<th class="TblHead" align="center" >引文发表时间</th> 
				</tr>
		
		</thead>
			<tbody id="tab">
				<c:set value="0" var="index" scope="page"/>
					<x:forEach select="$xmlData/data/tg_app_org_info_other/list" var="list">
					<c:choose>
						<c:when test="${index<10}" ><c:set value="0" var="flag" scope="page"/></c:when>
						<c:otherwise><c:set value="" var="flag" scope="page"/></c:otherwise>
					</c:choose>
					<tr>
						<td align="center">&nbsp;
							<span name="tg_app_org_info_other/list[${flag}${index}]@seq_no" ><x:out select="$list/@seq_no"/></span> 
						</td>
						<td align="left" >&nbsp;
							<x:out select="$list/dbxzz_name"/>
						</td>
						<td align="left" >&nbsp;
							<x:out select="$list/ywkm"/>
						</td>
						<td align="left" >&nbsp;
							<x:out select="$list/yw_title"/>
						</td>
						<td align="center" >&nbsp;
							<x:out select="$list/yw_author" />
						</td>
						<td align="left" >&nbsp;
							<x:out select="$list/yw_yxyz"/>
						</td>	
						<td align="center" >&nbsp;
							<x:out select="$list/yw_fb_date"/>
						</td>		
					</tr>
					<c:set value="${index+1}" var="index" scope="page"/>
					</x:forEach>
			</tbody>
		</table>
		
	</c:if>
	<c:if test="${yytg_show_hide != '05' }">
      <table class="t_css" width="100%" border="0" cellpadding="0"
	    cellspacing="1" style="table-layout: fixed; word-break: break-all; word-wrap: break-word">
        <tr class="li_2">
		<td align="left"><span class="color_red"></span><strong>6.直接经济效益  单位： 万元（人民币）</strong></td>
		</tr>
		</table>
			<table class="table01 t_css" border="0" width="100%"
				cellspacing="0" cellpadding="1"  
				style="table-layout: fixed; word-break: break-all; word-wrap: break-word">

				<col style="width: 25%" />
				<col style="width: 25%" />
				<col style="width: 25%" />
				<col style="width: 25%" />

				<tr>
					<td align="center">项目总投资额：</td>
					<td align="center" >
						 <x:out select="$xmlData/data/prj_economy/total_investment" /> 
					<td align="center">回收期（年）：</td>
					<td align="center" > 
						<x:out select="$xmlData/data/prj_economy/payoff_period" /> 
					</td>
					<td></td>
				</tr>
				<tr>
					<td align="center">年份</td>
					<td align="center">新增销售额</td>
					<td align="center">新增利润</td>
					<td align="center">新增税收</td>
				</tr>
				<c:set var="statYear">${year}</c:set>
				<c:if test="${empty statYear}">
					<c:set var="statYear">
						<x:out select="$xmlData/data/proposal/stat_year" />
					</c:set>
				</c:if>
				<tr>
					<td align="center">${statYear-1}</td>
					<td align="center">
						<x:out select="$xmlData/data/prj_economy/new_output1" />
					</td>
					<td align="center"> 
						<x:out select="$xmlData/data/prj_economy/new_profit1" />
					</td>

					<td align="center"> 
						<x:out select="$xmlData/data/prj_economy/new_tax1" />
					</td>
				</tr>
				<tr>
					<td align="center">${statYear-2}</td>
					<td align="center">
						<x:out select="$xmlData/data/prj_economy/new_output2" /> 
					</td>
					<td align="center"> 
						<x:out select="$xmlData/data/prj_economy/new_profit2" />
					</td>
					<td align="center">
						<x:out select="$xmlData/data/prj_economy/new_tax2" />
					</td>
				</tr>
				<tr>
					<td align="center">${statYear-3}</td>
					<td align="center">
						<x:out select="$xmlData/data/prj_economy/new_output3" />
					</td>
					<td align="center">
						<x:out select="$xmlData/data/prj_economy/new_profit3" />
					</td>
					<td align="center">
						<x:out select="$xmlData/data/prj_economy/new_tax3" />
					</td>
				</tr>
				<tr>
					<td align="center">累计</td>
					<td align="center">
						<x:out select="$xmlData/data/prj_economy/total_output" />
					</td>
					<td align="center">
						<x:out select="$xmlData/data/prj_economy/total_profit" />
					</td>
					<td align="center">
						<x:out select="$xmlData/data/prj_economy/total_tax" />
					</td>
				</tr>
			</table>
			
			<table class="t_css" width="100%" border="0" cellpadding="0"
	    cellspacing="1" style="table-layout: fixed; word-break: break-all; word-wrap: break-word">
	    <tr>
					<td align="left">各栏目的计算依据：</td>
				</tr>
				<tr>
					<td ><pre><x:out select="$xmlData/data/proposal/prj_info/calc_base" /></pre></td>
				</tr>
		<tr class="li_1">
          <td align="left"><strong>7.间接经济效益与社会效益</strong></td>
      </tr>
      <tr class="li_2">
          <td><pre><x:out select="$xmlData/data/proposal/goal/summary5"/></pre></td>
      </tr>
    </table>
			</c:if>
		     